
public class Test {

	public static void main(String[] args) {
		
		Collection<String> collection = new MyCollection();
		Iterator<String> iter = collection.iterator();
		while(iter.hashNext()){
			System.out.println(iter.next());
		}
	}
}
